Validation Error: Invalid Length Unit

Error: XXX is not a valid length unit

The valid units for length values are em, ex, px, in, cm, mm, pt, pc, and %. The unit for the indicated value is not valid.